package com.a3dweijing.wetouch2.bean;

/**
 * Created by Administrator on 2018/3/28.
 */

public class WEIXINGSign {
    /**
     * flag : true
     * message : 调起微信支付
     * payParam : {"return_code":"SUCCESS","return_msg":"OK","appid":"wx3cb789ee1dc80961","mch_id":"1496621402","nonce_str":"GMAKaTg1qCmVBM4n","sign":"E66AAAFAE4A19F21FFB83D98D5E4E2ED","result_code":"SUCCESS","prepay_id":"wx20180328151142150671dff70051079022","trade_type":"APP","timestamp":1522220649}
     */

    private boolean flag;
    private String message;
    private PayParamBean payParam;

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public PayParamBean getPayParam() {
        return payParam;
    }

    public void setPayParam(PayParamBean payParam) {
        this.payParam = payParam;
    }

    public static class PayParamBean {
        /**
         * return_code : SUCCESS
         * return_msg : OK
         * appid : wx3cb789ee1dc80961
         * mch_id : 1496621402
         * nonce_str : GMAKaTg1qCmVBM4n
         * sign : E66AAAFAE4A19F21FFB83D98D5E4E2ED
         * result_code : SUCCESS
         * prepay_id : wx20180328151142150671dff70051079022
         * trade_type : APP
         * timestamp : 1522220649
         */

        private String return_code;
        private String return_msg;
        private String appid;
        private String mch_id;
        private String nonce_str;
        private String sign;
        private String result_code;
        private String prepay_id;
        private String trade_type;
        private int timestamp;

        public String getReturn_code() {
            return return_code;
        }

        public void setReturn_code(String return_code) {
            this.return_code = return_code;
        }

        public String getReturn_msg() {
            return return_msg;
        }

        public void setReturn_msg(String return_msg) {
            this.return_msg = return_msg;
        }

        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public String getMch_id() {
            return mch_id;
        }

        public void setMch_id(String mch_id) {
            this.mch_id = mch_id;
        }

        public String getNonce_str() {
            return nonce_str;
        }

        public void setNonce_str(String nonce_str) {
            this.nonce_str = nonce_str;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }

        public String getResult_code() {
            return result_code;
        }

        public void setResult_code(String result_code) {
            this.result_code = result_code;
        }

        public String getPrepay_id() {
            return prepay_id;
        }

        public void setPrepay_id(String prepay_id) {
            this.prepay_id = prepay_id;
        }

        public String getTrade_type() {
            return trade_type;
        }

        public void setTrade_type(String trade_type) {
            this.trade_type = trade_type;
        }

        public int getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(int timestamp) {
            this.timestamp = timestamp;
        }
    }
}
